//
//  LTSRingSDK+Desc.m
//  CareRingApp
//
//  Created by Linktop on 2023/8/1.
//

#import "LTSRingSDK+Desc.h"

@implementation LTSRingSDK (Desc)

-(NSString *)cmdErrorDesc:(EXCUTED_CMD)cmd
{
    NSString *dec = @"";
    switch (cmd) {
        case EXCUTED_CMD_SET_SPORT_MODE:
        {
            dec = @"sport mode switch";//@"运动模式开关";
        }
            break;
        case EXCUTED_CMD_SYNC_TIME:
        {
            dec = @"time synchronization";//@"时间同步";
        }
            break;
        case EXCUTED_CMD_GET_STEPS:
        {
            dec = @"get steps";//@"获取计步";
        }
            break;
        case EXCUTED_CMD_GET_TEMPERATURE:
        {
            dec = @"get body temperature";//@"获取体温";
        }
            break;
        case EXCUTED_CMD_HIS_DATA:
        {
            dec = @"Historical data reporting";//@"历史数据";
        }
            break;
        case EXCUTED_CMD_HIS_COUNT:
        {
            dec = @"Number of historical data";//@"历史数据个数";
        }
            break;
        case EXCUTED_CMD_BIND:
        {
            dec = @"Bind and unbind the device";//@"绑定解绑设备";
        }
            break;
        case EXCUTED_CMD_SPORT_MODE:
        {
            dec = @"sports mode";//@"运动模式";
        }
            break;
        case EXCUTED_CMD_CLEAR_HIS_DATA:
        {
            dec = @"Clear device history";//@"清空设备历史记录";

        }
            break;
        default:
            break;
    }
    
    return dec;
}

@end
